package com.frejoys.common.dto.admin;

import com.frejoys.common.dto.common.UserIdDto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 修改角色参数
 */
@Data
public class UserStatusChangeDto extends UserIdDto {
    /**
     * 状态  -1禁止登录 1正常
     */
    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "status", description = "状态  -1禁止登录 1正常", required = true, defaultValue = "1")
    private Integer status;
}
